package com.qcorm.core;


/**
 *
 */
public class DaoParameter {
	private Boolean isWhereCondition;//是否作为where后面的条件
	private String parameterName;//参数名称
	private Object parameterValue; //参数值
	private int targetSqlTtype;//sql类型，java.sql.Types里的枚举值


	/**
	 * 构造方法
	 * @param isWhereCondition
	 * @param parameterName
	 * @param parameterValue
	 * @param targetSqlTtype
	 */
	public DaoParameter(Boolean isWhereCondition,
			String parameterName,
			Object parameterValue,
			int targetSqlTtype){
		this.isWhereCondition = isWhereCondition;
		this.parameterName = parameterName;
		this.parameterValue = parameterValue;
		this.targetSqlTtype = targetSqlTtype;		
	}

	public Boolean getIsWhereCondition() {
		return isWhereCondition;
	}

	public void setIsWhereCondition(Boolean isWhereCondition) {
		this.isWhereCondition = isWhereCondition;
	}

	public String getParameterName() {
		return parameterName;
	}

	public void setParameterName(String parameterName) {
		this.parameterName = parameterName;
	}

	public Object getParameterValue() {
		return parameterValue;
	}

	public void setParameterValue(Object parameterValue) {
		this.parameterValue = parameterValue;
	}

	public int getTargetSqlTtype() {
		return targetSqlTtype;
	}

	public void setTargetSqlTtype(int targetSqlTtype) {
		this.targetSqlTtype = targetSqlTtype;
	}
}
